
const Router = require('koa-router')
const router = new Router();
const query = require('../db/mysql')
const {register,login} = require('../controller/user.js')
// 注册接口
router.post('/register', register)
router.post('/login', login)

module.exports = router;